package com.xiaochuan.tracert.entity;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

public class Order {
    @Getter
    @Setter
    private int id;

    // 卖方
    @Getter @Setter private Farmer seller;

    // 买方
    @Getter @Setter private Buyer buyer;

    // 交易时间
    @Getter @Setter private LocalDateTime tradeTime;

    // 采摘时间
    @Getter @Setter private LocalDateTime pickTime;

    // 采摘基地
    @Getter @Setter private Plantation pickPoint;
}
